home *** CD-ROM | disk | FTP | other *** search
- on moveMiddle
- global LcurrentWeight, RcurrentWeight
- if RcurrentWeight > LcurrentWeight then
- set tempWt to the number of cast "right heavier"
- set tempGauge to the number of cast "left plus lit"
- set the castNum of sprite 2 to tempGauge
- set the castNum of sprite 3 to the number of cast "middle"
- set the castNum of sprite 4 to the number of cast "right"
- else
- if RcurrentWeight < LcurrentWeight then
- set tempWt to the number of cast "left heavier"
- set tempGauge to the number of cast "right plus lit"
- set the castNum of sprite 2 to the number of cast "left"
- set the castNum of sprite 3 to the number of cast "middle"
- set the castNum of sprite 4 to tempGauge
- else
- if RcurrentWeight = LcurrentWeight then
- set tempWt to the number of cast "even"
- set tempGauge to the number of cast "equal lit"
- set the castNum of sprite 2 to the number of cast "left"
- set the castNum of sprite 3 to tempGauge
- set the castNum of sprite 4 to the number of cast "right"
- end if
- end if
- end if
- set the castNum of sprite 10 to tempWt
- end
-